/**
 * 
 */
package com.mycompany.client;

import com.mycompany.client.pages.AddSalesActivityPage;
import com.mycompany.client.pages.CalendarPage;
import com.mycompany.client.pages.ManageSalesActivityPage;
import com.mycompany.shared.PageConstants;

/**
 * @author coral.ma
 *
 */
public class CoralPageFactory {

	public static CoralPage getPanel(String pageID) {
		if(PageConstants.AddSalesActivityPage.equals(pageID)) {
			return AddSalesActivityPage.create();
		} else if(PageConstants.ManageSalesActivityPage.equals(pageID)) {
			return ManageSalesActivityPage.create();
		} else if(PageConstants.CalendarPage.equals(pageID)) {
			return CalendarPage.create();
		}
		return null;
	}
}
